package com.hsmw.schedule.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 抢单返回的信息VO
 * **/
@Data
public class WebSocketReturnVO {

    @ApiModelProperty(value = "抢单状态  1：有新的订单待抢单信息；2. 抢单中;3.抢单成功，4:抢单失败：5：您的同车辆人员已参与抢单 4。" )
    private  String status;

    @ApiModelProperty(value = "文字信息")
    private  String message;


    @ApiModelProperty(value = "返回数据")
    private  Object data;

    @ApiModelProperty(value = "抢单剩余秒数")
    private long  remaindSeconds;

    @ApiModelProperty(value = "pushId")
    private String pushId;


    @ApiModelProperty(value = "pushType")
    private String pushType;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "车辆id")
    private String vehicleId;

    @ApiModelProperty(value = "子订单id")
    private String relationId;

    @ApiModelProperty(value = "子订单id")
    private String reportId;

    @ApiModelProperty(value = "到达时间")
    private String reachTime;

    @ApiModelProperty(value = "邀请id")
    private String invitedId;


    @ApiModelProperty(value = "邀请人姓名")
    private String invitedName;

    @ApiModelProperty(value = "邀请人电话")
    private String invitedUserName;

    @ApiModelProperty(value = "邀请公司")
    private String invitedCompanyName;

    @ApiModelProperty(value = "type")
    private String type;

    @ApiModelProperty(value = "邀请项目ID")
    private String itemId;

    @ApiModelProperty(value = "邀请项目")
    private String itemName;

    @ApiModelProperty(value = "被邀请人姓名")
    private String inviteeName;
}
